
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<f:loadBundle basename="resources.application" var="msg" />

<head>
<link rel="stylesheet" type="text/css" href="estilos/estilo.css" />
<title><h:outputText value="#{msg.welcomeTitle}" /></title>
</head>

<body>
	<div id="tudo">

		<div id="conteudo">
			<div id="logo"></div>

			<div id="login">
				<h:form>
					<legend>Login do Sistema</legend>
					<h:panelGrid columns="2">

						<h:outputLabel value="Login:" for="login" />
						<h:inputText id="login" value="#{loginBean.login }" />
						<h:outputLabel value="Password:" for="senha" />
						<h:inputSecret id="password" value="#{loginBean.senha}" />
						<h:commandButton action="#{loginBean.checalogin }" value="Logar" />
					</h:panelGrid>
				</h:form>
			</div>
		</div>
	</div>

</body>
</html>
